﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClassLibrary.BLL;

namespace Web
{
    public partial class DanhMuc : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                List<BLLLoaiSP> listloai = new List<BLLLoaiSP>();
                listloai = new BLLLoaiSP().GetAll();
                DataList1.DataSource = listloai;
                DataList1.DataBind();
            }
        }
    }
}